package net.ifilm.entity;

import java.util.Date;

/**
 * User: <a href="wangjunneil@gmail.com">wangjun</a>
 * Date: 2012-08-11 22:36
 */
public class FilmDiscuss {
    
    private int filmId;

    private String content;

    private Date createTime;
    
    private int userId;
    
    private User user;

    public int getFilmId() {
        return filmId;
    }

    public void setFilmId(int filmId) {
        this.filmId = filmId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }
    
    public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	@Override
    public String toString() {
        StringBuffer sb = new StringBuffer();
        sb.append("FilmDiscuss: [filmId=")
                .append(filmId).append(',')
                .append("content=").append(content).append(',')
                .append("userid=").append(userId)
                .append(']');
        return sb.toString();
    }
}
